/**
 *
 * @author DnD Binary Source
 */
package binarysource;

import Entities.*;
import java.util.ArrayList;
import java.util.List;
import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import org.jdesktop.application.Action;

public class AddHomebrew extends javax.swing.JFrame {

    /** Creates new form AddHomebrew */
    private AddHomebrew() {
        initComponents();
        setTopLayer(panClass, panRace, panPower, panSkill, panFeat, panRitual, panEquipment, panOther);
        setTopEquipmentLayer();
        setComponents();
    }
    
    public static AddHomebrew getInstance(){
        if(addHomebrew == null){
            addHomebrew = new AddHomebrew();
        }
        return addHomebrew;
    }
    
    public void setTopLayer(JPanel top, JPanel other1, JPanel other2, JPanel other3, JPanel other4, JPanel other5, JPanel other6, JPanel other7){
        other1.setVisible(false);
        other2.setVisible(false);
        other3.setVisible(false);
        other4.setVisible(false);
        other5.setVisible(false);
        other6.setVisible(false);
        other7.setVisible(false);
        top.setVisible(true);
        layeredPane.setLayer(other7, 0);
        layeredPane.setLayer(other6, 1);
        layeredPane.setLayer(other5, 2);
        layeredPane.setLayer(other4, 3);
        layeredPane.setLayer(other3, 4);
        layeredPane.setLayer(other2, 5);
        layeredPane.setLayer(other1, 6);
        layeredPane.setLayer(top, 7);
    }
    
    public void setTopEquipmentLayer(){
        
    }
    
    public void setComponents(){
        setBookList();
    }
    
    // Action method used by the Buttons to close the window:
    @Action
    public void close() {
        dispose();
    }
    
    public void setBookList(){
        cmbClassBook.removeAllItems();
        cmbClassBook.addItem("Select");
        BookList bookList = Handler.getBookList();
        bookList.startIterator();
        cmbClassBook.addItem("asas");
        while(bookList.hasElement()){
            Book book = (Book)bookList.next();
            String a = book.getAbbreviation();
            cmbClassBook.addItem(book.getAbbreviation());
        }
    }
    
    public void clearClass(){
        txtClassName.setText("");
        txtClassPhrase.setText("");
        txtClassDescription.setText("");
        txtClassCharacteristics.setText("");
        txtClassReligion.setText("");
        txtClassRaces.setText("");
        txtClassAbilities.setText("");
        txtClassArmor.setText("");
        txtClassWeapons.setText("");
        txtClassArmorHybrid.setText("");
        txtClassWeaponsHybrid.setText("");
        cmbClassBook.setSelectedIndex(0);
        cmbClassRole.setSelectedIndex(0);
        cmbClassSource.setSelectedIndex(0);
        cmbClassDef.setSelectedIndex(0);
        cmbClassHP.setSelectedIndex(0);
        cmbClassPerLvl.setSelectedIndex(0);
        cmbClassSurge.setSelectedIndex(0);
        cmbClassSkills.setSelectedIndex(0);
        cmbClassNSkills.setSelectedIndex(0);
        cmbClassDefHybrid.setSelectedIndex(0);
        cmbClassHPHybrid.setSelectedIndex(0);
        cmbClassPerLvlHybrid.setSelectedIndex(0);
        cmbClassSurgeHybrid.setSelectedIndex(0);
        cmbClassSkillsHybrid.setSelectedIndex(0);
        cmbClassNSkillsHybrid.setSelectedIndex(0);
    }
    
    public void clearRace(){
    
    }
    
    public void clearPower(){
    
    }
    
    public void clearSkill(){
    
    }
    
    public void clearFeat(){
    
    }
    
    public void clearRitual(){
    
    }
    
    public void clearEquipment(){
    
    }
    
    public void clearRole(){
    
    }
    
    public void clearSource(){
    
    }
    
    public void clearBook(){
        txtBookName.setText("");
        txtBookAbbreviation.setText("");
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        labTitle = new javax.swing.JLabel();
        labDescription = new javax.swing.JLabel();
        btnClass = new javax.swing.JButton();
        btnRace = new javax.swing.JButton();
        btnPower = new javax.swing.JButton();
        btnSkill = new javax.swing.JButton();
        btnFeat = new javax.swing.JButton();
        btnRitual = new javax.swing.JButton();
        btnEquipment = new javax.swing.JButton();
        btnOther = new javax.swing.JButton();
        layeredPane = new javax.swing.JLayeredPane();
        panClass = new javax.swing.JPanel();
        labClassTitle = new javax.swing.JLabel();
        labClassName = new javax.swing.JLabel();
        txtClassName = new javax.swing.JTextField();
        labClassBook = new javax.swing.JLabel();
        cmbClassBook = new javax.swing.JComboBox();
        labClassPhrase = new javax.swing.JLabel();
        txtClassPhrase = new javax.swing.JTextField();
        labClassDescription = new javax.swing.JLabel();
        txtClassDescription = new javax.swing.JTextField();
        labClassCharacteristics = new javax.swing.JLabel();
        txtClassCharacteristics = new javax.swing.JTextField();
        labClassReligion = new javax.swing.JLabel();
        txtClassReligion = new javax.swing.JTextField();
        labClassRaces = new javax.swing.JLabel();
        txtClassRaces = new javax.swing.JTextField();
        labClassRole = new javax.swing.JLabel();
        cmbClassRole = new javax.swing.JComboBox();
        labClassSource = new javax.swing.JLabel();
        cmbClassSource = new javax.swing.JComboBox();
        labClassAbilities = new javax.swing.JLabel();
        txtClassAbilities = new javax.swing.JTextField();
        labClassArmor = new javax.swing.JLabel();
        txtClassArmor = new javax.swing.JTextField();
        labClassWeapons = new javax.swing.JLabel();
        txtClassWeapons = new javax.swing.JTextField();
        labClassDef = new javax.swing.JLabel();
        cmbClassDef = new javax.swing.JComboBox();
        labClassHP = new javax.swing.JLabel();
        cmbClassHP = new javax.swing.JComboBox();
        labClassPerLvl = new javax.swing.JLabel();
        cmbClassPerLvl = new javax.swing.JComboBox();
        labClassSurge = new javax.swing.JLabel();
        cmbClassSurge = new javax.swing.JComboBox();
        labClassSkills = new javax.swing.JLabel();
        cmbClassSkills = new javax.swing.JComboBox();
        labClassNSkills = new javax.swing.JLabel();
        cmbClassNSkills = new javax.swing.JComboBox();
        labClassTitleHybrid = new javax.swing.JLabel();
        labClassArmorHybrid = new javax.swing.JLabel();
        txtClassArmorHybrid = new javax.swing.JTextField();
        labClassWeaponsHybrid = new javax.swing.JLabel();
        txtClassWeaponsHybrid = new javax.swing.JTextField();
        labClassDefHybrid = new javax.swing.JLabel();
        cmbClassDefHybrid = new javax.swing.JComboBox();
        labClassHPHybrid = new javax.swing.JLabel();
        cmbClassHPHybrid = new javax.swing.JComboBox();
        labClassPerLvlHybrid = new javax.swing.JLabel();
        cmbClassPerLvlHybrid = new javax.swing.JComboBox();
        labClassSurgeHybrid = new javax.swing.JLabel();
        cmbClassSurgeHybrid = new javax.swing.JComboBox();
        labClassSkillsHybrid = new javax.swing.JLabel();
        cmbClassSkillsHybrid = new javax.swing.JComboBox();
        labClassNSkillsHybrid = new javax.swing.JLabel();
        cmbClassNSkillsHybrid = new javax.swing.JComboBox();
        btnClassAdd = new javax.swing.JButton();
        btnClassClear = new javax.swing.JButton();
        panRace = new javax.swing.JPanel();
        jButton13 = new javax.swing.JButton();
        jButton14 = new javax.swing.JButton();
        labClassTitle4 = new javax.swing.JLabel();
        jLabel31 = new javax.swing.JLabel();
        jTextField15 = new javax.swing.JTextField();
        jLabel32 = new javax.swing.JLabel();
        jTextField16 = new javax.swing.JTextField();
        panPower = new javax.swing.JPanel();
        jButton15 = new javax.swing.JButton();
        jButton16 = new javax.swing.JButton();
        labClassTitle5 = new javax.swing.JLabel();
        jLabel33 = new javax.swing.JLabel();
        jTextField17 = new javax.swing.JTextField();
        jLabel34 = new javax.swing.JLabel();
        jTextField18 = new javax.swing.JTextField();
        panSkill = new javax.swing.JPanel();
        jButton17 = new javax.swing.JButton();
        jButton18 = new javax.swing.JButton();
        labClassTitle6 = new javax.swing.JLabel();
        jLabel35 = new javax.swing.JLabel();
        jTextField19 = new javax.swing.JTextField();
        jLabel36 = new javax.swing.JLabel();
        jTextField20 = new javax.swing.JTextField();
        panFeat = new javax.swing.JPanel();
        jButton19 = new javax.swing.JButton();
        jButton20 = new javax.swing.JButton();
        labClassTitle7 = new javax.swing.JLabel();
        jLabel37 = new javax.swing.JLabel();
        jTextField21 = new javax.swing.JTextField();
        jLabel38 = new javax.swing.JLabel();
        jTextField22 = new javax.swing.JTextField();
        panRitual = new javax.swing.JPanel();
        jButton21 = new javax.swing.JButton();
        jButton22 = new javax.swing.JButton();
        labClassTitle8 = new javax.swing.JLabel();
        jLabel39 = new javax.swing.JLabel();
        jTextField26 = new javax.swing.JTextField();
        jLabel40 = new javax.swing.JLabel();
        jTextField27 = new javax.swing.JTextField();
        panEquipment = new javax.swing.JPanel();
        labEquipmentAttackTitle = new javax.swing.JLabel();
        btnArmor = new javax.swing.JButton();
        btnBoots = new javax.swing.JButton();
        btnGloves = new javax.swing.JButton();
        btnHelmet = new javax.swing.JButton();
        btnLegs = new javax.swing.JButton();
        btnShields = new javax.swing.JButton();
        labEquipmentDefenseTitle = new javax.swing.JLabel();
        btnAxe = new javax.swing.JButton();
        btnClub = new javax.swing.JButton();
        btnSword = new javax.swing.JButton();
        btnMace = new javax.swing.JButton();
        btnStaff = new javax.swing.JButton();
        btnRod = new javax.swing.JButton();
        separatorEquipment = new javax.swing.JSeparator();
        separatorEquipment2 = new javax.swing.JSeparator();
        layeredPaneEquipment = new javax.swing.JLayeredPane();
        panArmor = new javax.swing.JPanel();
        labClassTitle11 = new javax.swing.JLabel();
        jLabel41 = new javax.swing.JLabel();
        jTextField28 = new javax.swing.JTextField();
        jButton23 = new javax.swing.JButton();
        jButton36 = new javax.swing.JButton();
        jLabel42 = new javax.swing.JLabel();
        jTextField29 = new javax.swing.JTextField();
        jLabel43 = new javax.swing.JLabel();
        panOther = new javax.swing.JPanel();
        labRoleTitle = new javax.swing.JLabel();
        labRoleName = new javax.swing.JLabel();
        txtRoleName = new javax.swing.JTextField();
        labRoleDescription = new javax.swing.JLabel();
        txtRoleDescription = new javax.swing.JTextField();
        btnRoleAdd = new javax.swing.JButton();
        btnRoleClear = new javax.swing.JButton();
        sepOther = new javax.swing.JSeparator();
        labSourceTitle = new javax.swing.JLabel();
        labSourceName = new javax.swing.JLabel();
        txtSourceName = new javax.swing.JTextField();
        labSourceDescription = new javax.swing.JLabel();
        txtSourceDescription = new javax.swing.JTextField();
        btnSourceAdd = new javax.swing.JButton();
        btnSourceClear = new javax.swing.JButton();
        sepOther2 = new javax.swing.JSeparator();
        labBookTitle = new javax.swing.JLabel();
        labBookName = new javax.swing.JLabel();
        txtBookName = new javax.swing.JTextField();
        labBookAbbreviation = new javax.swing.JLabel();
        txtBookAbbreviation = new javax.swing.JTextField();
        btnBookAdd = new javax.swing.JButton();
        btnBookClear = new javax.swing.JButton();
        panHelp = new javax.swing.JPanel();
        btnClose = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Add Homebrew - DnD Binary Source");
        setName("frameAddHomebrew"); // NOI18N

        labTitle.setFont(new java.awt.Font("Old English Text MT", 1, 36));
        labTitle.setText("Homebrew Editor - Add Item");
        labTitle.setName("labTitle"); // NOI18N

        labDescription.setText("<html>Use this screen to add new homebrew classes, races, powers, skills, feats, rituals and equipment to the catalog.");
        labDescription.setName("labDescription"); // NOI18N

        btnClass.setMnemonic('C');
        btnClass.setText("Class");
        btnClass.setToolTipText("Add new Homebrew Class");
        btnClass.setName("btnClass"); // NOI18N
        btnClass.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                btnClassMouseReleased(evt);
            }
        });

        btnRace.setMnemonic('R');
        btnRace.setText("Race");
        btnRace.setToolTipText("Add new Homebrew Race");
        btnRace.setName("btnRace"); // NOI18N
        btnRace.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                btnRaceMouseReleased(evt);
            }
        });

        btnPower.setMnemonic('P');
        btnPower.setText("Power");
        btnPower.setToolTipText("Add new Homebrew Power");
        btnPower.setName("btnPower"); // NOI18N
        btnPower.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                btnPowerMouseReleased(evt);
            }
        });

        btnSkill.setMnemonic('S');
        btnSkill.setText("Skill");
        btnSkill.setToolTipText("Add new Homebrew Skill");
        btnSkill.setName("btnSkill"); // NOI18N
        btnSkill.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                btnSkillMouseReleased(evt);
            }
        });

        btnFeat.setMnemonic('F');
        btnFeat.setText("Feat");
        btnFeat.setToolTipText("Add new Homebrew Feat");
        btnFeat.setName("btnFeat"); // NOI18N
        btnFeat.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                btnFeatMouseReleased(evt);
            }
        });

        btnRitual.setMnemonic('I');
        btnRitual.setText("Ritual");
        btnRitual.setToolTipText("Add new Homebrew Ritual");
        btnRitual.setName("btnRitual"); // NOI18N
        btnRitual.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                btnRitualMouseReleased(evt);
            }
        });

        btnEquipment.setMnemonic('Q');
        btnEquipment.setText("Equipment");
        btnEquipment.setToolTipText("Add new Homebrew Equipment");
        btnEquipment.setName("btnEquipment"); // NOI18N
        btnEquipment.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                btnEquipmentMouseReleased(evt);
            }
        });

        btnOther.setMnemonic('Q');
        btnOther.setText("Other");
        btnOther.setToolTipText("Add new Homebrew Equipment");
        btnOther.setName("btnOther"); // NOI18N
        btnOther.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                btnOtherMouseReleased(evt);
            }
        });

        layeredPane.setName("layeredPane"); // NOI18N

        panClass.setBackground(new java.awt.Color(204, 204, 255));
        panClass.setName("panClass"); // NOI18N

        labClassTitle.setFont(new java.awt.Font("Tahoma", 1, 12));
        labClassTitle.setText("Add Class");
        labClassTitle.setName("labClassTitle"); // NOI18N

        labClassName.setText("Name:");
        labClassName.setName("labClassName"); // NOI18N

        txtClassName.setName("txtClassName"); // NOI18N

        labClassBook.setText("Book:");
        labClassBook.setName("labClassBook"); // NOI18N

        cmbClassBook.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1"}));
        cmbClassBook.setName("cmbClassBook"); // NOI18N

        labClassPhrase.setText("Phrase:");
        labClassPhrase.setName("labClassPhrase"); // NOI18N

        txtClassPhrase.setName("txtClassPhrase"); // NOI18N

        labClassDescription.setText("Description:");
        labClassDescription.setName("labClassDescription"); // NOI18N

        txtClassDescription.setName("txtClassDescription"); // NOI18N

        labClassCharacteristics.setText("Characteristics:");
        labClassCharacteristics.setName("labClassCharacteristics"); // NOI18N

        txtClassCharacteristics.setName("txtClassCharacteristics"); // NOI18N

        labClassReligion.setText("Religion:");
        labClassReligion.setName("labClassReligion"); // NOI18N

        txtClassReligion.setName("txtClassReligion"); // NOI18N

        labClassRaces.setText("Races:");
        labClassRaces.setName("labClassRaces"); // NOI18N

        txtClassRaces.setName("txtClassRaces"); // NOI18N

        labClassRole.setText("Role:");
        labClassRole.setName("labClassRole"); // NOI18N

        cmbClassRole.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Controller", "Defender", "Leader", "Striker" }));
        cmbClassRole.setName("cmbClassRole"); // NOI18N

        labClassSource.setText("Source:");
        labClassSource.setName("labClassSource"); // NOI18N

        cmbClassSource.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Arcane", "Divine", "Martial", "Primal", "Shadow" }));
        cmbClassSource.setName("cmbClassSource"); // NOI18N

        labClassAbilities.setText("Abilities:");
        labClassAbilities.setName("labClassAbilities"); // NOI18N

        txtClassAbilities.setName("txtClassAbilities"); // NOI18N

        labClassArmor.setText("Armor:");
        labClassArmor.setName("labClassArmor"); // NOI18N

        txtClassArmor.setName("txtClassArmor"); // NOI18N

        labClassWeapons.setText("Weapons:");
        labClassWeapons.setName("labClassWeapons"); // NOI18N

        txtClassWeapons.setName("txtClassWeapons"); // NOI18N

        labClassDef.setText("Def:");
        labClassDef.setName("labClassDef"); // NOI18N

        cmbClassDef.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11" }));
        cmbClassDef.setName("cmbClassDef"); // NOI18N

        labClassHP.setText("HP:");
        labClassHP.setName("labClassHP"); // NOI18N

        cmbClassHP.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35" }));
        cmbClassHP.setName("cmbClassHP"); // NOI18N

        labClassPerLvl.setText("Per lvl:");
        labClassPerLvl.setName("labClassPerLvl"); // NOI18N

        cmbClassPerLvl.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "3", "4", "5", "6", "7", "8", "9" }));
        cmbClassPerLvl.setName("cmbClassPerLvl"); // NOI18N

        labClassSurge.setText("Surge:");
        labClassSurge.setName("labClassSurge"); // NOI18N

        cmbClassSurge.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18" }));
        cmbClassSurge.setName("cmbClassSurge"); // NOI18N

        labClassSkills.setText("Skills:");
        labClassSkills.setName("labClassSkills"); // NOI18N

        cmbClassSkills.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
        cmbClassSkills.setName("cmbClassSkills"); // NOI18N

        labClassNSkills.setText("NSkills:");
        labClassNSkills.setName("labClassNSkills"); // NOI18N

        cmbClassNSkills.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "3", "4", "5", "6", "7", "8", "9" }));
        cmbClassNSkills.setName("cmbClassNSkills"); // NOI18N

        labClassTitleHybrid.setFont(new java.awt.Font("Tahoma", 1, 11));
        labClassTitleHybrid.setText("Hybrid version:");
        labClassTitleHybrid.setName("labClassTitleHybrid"); // NOI18N

        labClassArmorHybrid.setText("Armor:");
        labClassArmorHybrid.setName("labClassArmorHybrid"); // NOI18N

        txtClassArmorHybrid.setName("txtClassArmorHybrid"); // NOI18N

        labClassWeaponsHybrid.setText("Weapons:");
        labClassWeaponsHybrid.setName("labClassWeaponsHybrid"); // NOI18N

        txtClassWeaponsHybrid.setName("txtClassWeaponsHybrid"); // NOI18N

        labClassDefHybrid.setText("Def:");
        labClassDefHybrid.setName("labClassDefHybrid"); // NOI18N

        cmbClassDefHybrid.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11" }));
        cmbClassDefHybrid.setName("cmbClassDefHybrid"); // NOI18N

        labClassHPHybrid.setText("HP:");
        labClassHPHybrid.setName("labClassHPHybrid"); // NOI18N

        cmbClassHPHybrid.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35" }));
        cmbClassHPHybrid.setName("cmbClassHPHybrid"); // NOI18N

        labClassPerLvlHybrid.setText("Per lvl:");
        labClassPerLvlHybrid.setName("labClassPerLvlHybrid"); // NOI18N

        cmbClassPerLvlHybrid.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "3", "4", "5", "6", "7", "8", "9" }));
        cmbClassPerLvlHybrid.setName("cmbClassPerLvlHybrid"); // NOI18N

        labClassSurgeHybrid.setText("Surge:");
        labClassSurgeHybrid.setName("labClassSurgeHybrid"); // NOI18N

        cmbClassSurgeHybrid.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18" }));
        cmbClassSurgeHybrid.setName("cmbClassSurgeHybrid"); // NOI18N

        labClassSkillsHybrid.setText("Skills:");
        labClassSkillsHybrid.setName("labClassSkillsHybrid"); // NOI18N

        cmbClassSkillsHybrid.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
        cmbClassSkillsHybrid.setName("cmbClassSkillsHybrid"); // NOI18N

        labClassNSkillsHybrid.setText("NSkills:");
        labClassNSkillsHybrid.setName("labClassNSkillsHybrid"); // NOI18N

        cmbClassNSkillsHybrid.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "3", "4", "5", "6", "7", "8", "9" }));
        cmbClassNSkillsHybrid.setName("cmbClassNSkillsHybrid"); // NOI18N

        btnClassAdd.setText("Add class");
        btnClassAdd.setName("btnClassAdd"); // NOI18N
        btnClassAdd.setPreferredSize(new java.awt.Dimension(79, 23));
        btnClassAdd.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                btnClassAddMouseReleased(evt);
            }
        });

        btnClassClear.setText("Clear");
        btnClassClear.setName("btnClassClear"); // NOI18N
        btnClassClear.setPreferredSize(new java.awt.Dimension(79, 23));
        btnClassClear.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                btnClassClearMouseReleased(evt);
            }
        });

        javax.swing.GroupLayout panClassLayout = new javax.swing.GroupLayout(panClass);
        panClass.setLayout(panClassLayout);
        panClassLayout.setHorizontalGroup(
            panClassLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panClassLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panClassLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panClassLayout.createSequentialGroup()
                        .addComponent(labClassDescription)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtClassDescription, javax.swing.GroupLayout.PREFERRED_SIZE, 409, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panClassLayout.createSequentialGroup()
                        .addComponent(labClassCharacteristics)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtClassCharacteristics, javax.swing.GroupLayout.PREFERRED_SIZE, 391, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panClassLayout.createSequentialGroup()
                        .addComponent(labClassReligion)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtClassReligion, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(labClassRaces)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtClassRaces, javax.swing.GroupLayout.PREFERRED_SIZE, 238, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panClassLayout.createSequentialGroup()
                        .addComponent(labClassRole)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(cmbClassRole, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(13, 13, 13)
                        .addComponent(labClassSource)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(cmbClassSource, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(10, 10, 10)
                        .addComponent(labClassAbilities)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtClassAbilities, javax.swing.GroupLayout.PREFERRED_SIZE, 198, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panClassLayout.createSequentialGroup()
                        .addComponent(labClassName)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtClassName, javax.swing.GroupLayout.PREFERRED_SIZE, 82, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(labClassBook)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(cmbClassBook, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(labClassPhrase)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtClassPhrase, javax.swing.GroupLayout.PREFERRED_SIZE, 213, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(labClassTitle))
                .addContainerGap())
            .addGroup(panClassLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(labClassTitleHybrid)
                .addContainerGap(395, Short.MAX_VALUE))
            .addGroup(panClassLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panClassLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panClassLayout.createSequentialGroup()
                        .addComponent(labClassArmorHybrid)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtClassArmorHybrid, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(labClassWeaponsHybrid)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtClassWeaponsHybrid, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(10, 10, 10)
                        .addComponent(labClassDefHybrid)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(cmbClassDefHybrid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(labClassHPHybrid)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(cmbClassHPHybrid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(labClassPerLvlHybrid)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(cmbClassPerLvlHybrid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(labClassSurgeHybrid)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(cmbClassSurgeHybrid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panClassLayout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 2, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(labClassSkillsHybrid)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(cmbClassSkillsHybrid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(labClassNSkillsHybrid)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(panClassLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(panClassLayout.createSequentialGroup()
                                .addComponent(btnClassAdd, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(btnClassClear, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(cmbClassNSkillsHybrid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addContainerGap(13, Short.MAX_VALUE))
            .addGroup(panClassLayout.createSequentialGroup()
                .addGroup(panClassLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, panClassLayout.createSequentialGroup()
                        .addGap(8, 8, 8)
                        .addComponent(labClassArmor)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtClassArmor, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(labClassWeapons)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtClassWeapons, javax.swing.GroupLayout.PREFERRED_SIZE, 46, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, panClassLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(labClassSkills)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(cmbClassSkills, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(labClassNSkills)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(cmbClassNSkills, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 6, Short.MAX_VALUE)
                .addComponent(labClassDef)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(cmbClassDef, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(labClassHP)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(cmbClassHP, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(labClassPerLvl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(cmbClassPerLvl, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(labClassSurge)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(cmbClassSurge, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(18, Short.MAX_VALUE))
        );
        panClassLayout.setVerticalGroup(
            panClassLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panClassLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(labClassTitle)
                .addGap(18, 18, 18)
                .addGroup(panClassLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labClassName)
                    .addComponent(txtClassName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(cmbClassBook, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtClassPhrase, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labClassPhrase)
                    .addComponent(labClassBook))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panClassLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtClassDescription, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labClassDescription))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panClassLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtClassCharacteristics, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labClassCharacteristics))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panClassLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labClassReligion)
                    .addComponent(labClassRaces)
                    .addComponent(txtClassReligion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtClassRaces, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panClassLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labClassRole)
                    .addComponent(labClassSource)
                    .addComponent(cmbClassRole, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(cmbClassSource, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtClassAbilities, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labClassAbilities))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panClassLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labClassArmor)
                    .addComponent(txtClassArmor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labClassWeapons)
                    .addComponent(txtClassWeapons, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labClassDef)
                    .addComponent(cmbClassDef, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labClassHP)
                    .addComponent(cmbClassHP, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labClassPerLvl)
                    .addComponent(cmbClassPerLvl, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labClassSurge)
                    .addComponent(cmbClassSurge, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panClassLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labClassSkills)
                    .addComponent(cmbClassSkills, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labClassNSkills)
                    .addComponent(cmbClassNSkills, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(labClassTitleHybrid)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panClassLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labClassArmorHybrid)
                    .addComponent(txtClassArmorHybrid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labClassWeaponsHybrid)
                    .addComponent(txtClassWeaponsHybrid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labClassDefHybrid)
                    .addComponent(cmbClassDefHybrid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labClassHPHybrid)
                    .addComponent(cmbClassHPHybrid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labClassPerLvlHybrid)
                    .addComponent(cmbClassPerLvlHybrid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labClassSurgeHybrid)
                    .addComponent(cmbClassSurgeHybrid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panClassLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labClassSkillsHybrid)
                    .addComponent(cmbClassSkillsHybrid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labClassNSkillsHybrid)
                    .addComponent(cmbClassNSkillsHybrid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 34, Short.MAX_VALUE)
                .addGroup(panClassLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnClassAdd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnClassClear, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        panClass.setBounds(0, 0, 490, 360);
        layeredPane.add(panClass, javax.swing.JLayeredPane.DEFAULT_LAYER);

        panRace.setBackground(new java.awt.Color(204, 204, 255));
        panRace.setName("panRace"); // NOI18N

        jButton13.setText("Add race");
        jButton13.setName("jButton13"); // NOI18N
        jButton13.setPreferredSize(new java.awt.Dimension(79, 23));

        jButton14.setText("Clear");
        jButton14.setName("jButton14"); // NOI18N
        jButton14.setPreferredSize(new java.awt.Dimension(79, 23));

        labClassTitle4.setFont(new java.awt.Font("Tahoma", 1, 12));
        labClassTitle4.setText("Add Race");
        labClassTitle4.setName("labClassTitle4"); // NOI18N

        jLabel31.setText("Name:");
        jLabel31.setName("jLabel31"); // NOI18N

        jTextField15.setName("jTextField15"); // NOI18N

        jLabel32.setText("Description:");
        jLabel32.setName("jLabel32"); // NOI18N

        jTextField16.setName("jTextField16"); // NOI18N

        javax.swing.GroupLayout panRaceLayout = new javax.swing.GroupLayout(panRace);
        panRace.setLayout(panRaceLayout);
        panRaceLayout.setHorizontalGroup(
            panRaceLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panRaceLayout.createSequentialGroup()
                .addGroup(panRaceLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panRaceLayout.createSequentialGroup()
                        .addGap(153, 153, 153)
                        .addComponent(jButton13, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButton14, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panRaceLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(panRaceLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(panRaceLayout.createSequentialGroup()
                                .addComponent(jLabel32)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jTextField16, javax.swing.GroupLayout.DEFAULT_SIZE, 409, Short.MAX_VALUE))
                            .addGroup(panRaceLayout.createSequentialGroup()
                                .addComponent(jLabel31)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jTextField15, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(345, 345, 345))
                            .addComponent(labClassTitle4))))
                .addContainerGap())
        );
        panRaceLayout.setVerticalGroup(
            panRaceLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panRaceLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(labClassTitle4)
                .addGap(18, 18, 18)
                .addGroup(panRaceLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel31)
                    .addComponent(jTextField15, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panRaceLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextField16, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel32))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 236, Short.MAX_VALUE)
                .addGroup(panRaceLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton13, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton14, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        panRace.setBounds(0, 0, 490, 360);
        layeredPane.add(panRace, javax.swing.JLayeredPane.DEFAULT_LAYER);

        panPower.setBackground(new java.awt.Color(204, 204, 255));
        panPower.setName("panPower"); // NOI18N

        jButton15.setText("Add power");
        jButton15.setName("jButton15"); // NOI18N
        jButton15.setPreferredSize(new java.awt.Dimension(79, 23));

        jButton16.setText("Clear");
        jButton16.setName("jButton16"); // NOI18N
        jButton16.setPreferredSize(new java.awt.Dimension(79, 23));

        labClassTitle5.setFont(new java.awt.Font("Tahoma", 1, 12));
        labClassTitle5.setText("Add Power");
        labClassTitle5.setName("labClassTitle5"); // NOI18N

        jLabel33.setText("Name:");
        jLabel33.setName("jLabel33"); // NOI18N

        jTextField17.setName("jTextField17"); // NOI18N

        jLabel34.setText("Description:");
        jLabel34.setName("jLabel34"); // NOI18N

        jTextField18.setName("jTextField18"); // NOI18N

        javax.swing.GroupLayout panPowerLayout = new javax.swing.GroupLayout(panPower);
        panPower.setLayout(panPowerLayout);
        panPowerLayout.setHorizontalGroup(
            panPowerLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panPowerLayout.createSequentialGroup()
                .addGroup(panPowerLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panPowerLayout.createSequentialGroup()
                        .addGap(153, 153, 153)
                        .addComponent(jButton15, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButton16, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panPowerLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(panPowerLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(panPowerLayout.createSequentialGroup()
                                .addComponent(jLabel34)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jTextField18, javax.swing.GroupLayout.DEFAULT_SIZE, 409, Short.MAX_VALUE))
                            .addGroup(panPowerLayout.createSequentialGroup()
                                .addComponent(jLabel33)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jTextField17, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(345, 345, 345))
                            .addComponent(labClassTitle5))))
                .addContainerGap())
        );
        panPowerLayout.setVerticalGroup(
            panPowerLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panPowerLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(labClassTitle5)
                .addGap(18, 18, 18)
                .addGroup(panPowerLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel33)
                    .addComponent(jTextField17, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panPowerLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextField18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel34))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 236, Short.MAX_VALUE)
                .addGroup(panPowerLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton15, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton16, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        panPower.setBounds(0, 0, 490, 360);
        layeredPane.add(panPower, javax.swing.JLayeredPane.DEFAULT_LAYER);

        panSkill.setBackground(new java.awt.Color(204, 204, 255));
        panSkill.setName("panSkill"); // NOI18N

        jButton17.setText("Add skill");
        jButton17.setName("jButton17"); // NOI18N
        jButton17.setPreferredSize(new java.awt.Dimension(79, 23));

        jButton18.setText("Clear");
        jButton18.setName("jButton18"); // NOI18N
        jButton18.setPreferredSize(new java.awt.Dimension(79, 23));

        labClassTitle6.setFont(new java.awt.Font("Tahoma", 1, 12));
        labClassTitle6.setText("Add Skill");
        labClassTitle6.setName("labClassTitle6"); // NOI18N

        jLabel35.setText("Name:");
        jLabel35.setName("jLabel35"); // NOI18N

        jTextField19.setName("jTextField19"); // NOI18N

        jLabel36.setText("Description:");
        jLabel36.setName("jLabel36"); // NOI18N

        jTextField20.setName("jTextField20"); // NOI18N

        javax.swing.GroupLayout panSkillLayout = new javax.swing.GroupLayout(panSkill);
        panSkill.setLayout(panSkillLayout);
        panSkillLayout.setHorizontalGroup(
            panSkillLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panSkillLayout.createSequentialGroup()
                .addGroup(panSkillLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panSkillLayout.createSequentialGroup()
                        .addGap(153, 153, 153)
                        .addComponent(jButton17, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButton18, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panSkillLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(panSkillLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(panSkillLayout.createSequentialGroup()
                                .addComponent(jLabel36)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jTextField20, javax.swing.GroupLayout.DEFAULT_SIZE, 409, Short.MAX_VALUE))
                            .addGroup(panSkillLayout.createSequentialGroup()
                                .addComponent(jLabel35)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jTextField19, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(345, 345, 345))
                            .addComponent(labClassTitle6))))
                .addContainerGap())
        );
        panSkillLayout.setVerticalGroup(
            panSkillLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panSkillLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(labClassTitle6)
                .addGap(18, 18, 18)
                .addGroup(panSkillLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel35)
                    .addComponent(jTextField19, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panSkillLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextField20, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel36))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 236, Short.MAX_VALUE)
                .addGroup(panSkillLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton17, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        panSkill.setBounds(0, 0, 490, 360);
        layeredPane.add(panSkill, javax.swing.JLayeredPane.DEFAULT_LAYER);

        panFeat.setBackground(new java.awt.Color(204, 204, 255));
        panFeat.setName("panFeat"); // NOI18N

        jButton19.setText("Add feat");
        jButton19.setName("jButton19"); // NOI18N
        jButton19.setPreferredSize(new java.awt.Dimension(79, 23));

        jButton20.setText("Clear");
        jButton20.setName("jButton20"); // NOI18N
        jButton20.setPreferredSize(new java.awt.Dimension(79, 23));

        labClassTitle7.setFont(new java.awt.Font("Tahoma", 1, 12));
        labClassTitle7.setText("Add Feat");
        labClassTitle7.setName("labClassTitle7"); // NOI18N

        jLabel37.setText("Name:");
        jLabel37.setName("jLabel37"); // NOI18N

        jTextField21.setName("jTextField21"); // NOI18N

        jLabel38.setText("Description:");
        jLabel38.setName("jLabel38"); // NOI18N

        jTextField22.setName("jTextField22"); // NOI18N

        javax.swing.GroupLayout panFeatLayout = new javax.swing.GroupLayout(panFeat);
        panFeat.setLayout(panFeatLayout);
        panFeatLayout.setHorizontalGroup(
            panFeatLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panFeatLayout.createSequentialGroup()
                .addGroup(panFeatLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panFeatLayout.createSequentialGroup()
                        .addGap(153, 153, 153)
                        .addComponent(jButton19, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButton20, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panFeatLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(panFeatLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(panFeatLayout.createSequentialGroup()
                                .addComponent(jLabel38)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jTextField22, javax.swing.GroupLayout.DEFAULT_SIZE, 409, Short.MAX_VALUE))
                            .addGroup(panFeatLayout.createSequentialGroup()
                                .addComponent(jLabel37)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jTextField21, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(345, 345, 345))
                            .addComponent(labClassTitle7))))
                .addContainerGap())
        );
        panFeatLayout.setVerticalGroup(
            panFeatLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panFeatLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(labClassTitle7)
                .addGap(18, 18, 18)
                .addGroup(panFeatLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel37)
                    .addComponent(jTextField21, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panFeatLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextField22, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel38))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 236, Short.MAX_VALUE)
                .addGroup(panFeatLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton19, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton20, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        panFeat.setBounds(0, 0, 490, 360);
        layeredPane.add(panFeat, javax.swing.JLayeredPane.DEFAULT_LAYER);

        panRitual.setBackground(new java.awt.Color(204, 204, 255));
        panRitual.setName("panRitual"); // NOI18N

        jButton21.setText("Add ritual");
        jButton21.setName("jButton21"); // NOI18N

        jButton22.setText("Clear");
        jButton22.setName("jButton22"); // NOI18N
        jButton22.setPreferredSize(new java.awt.Dimension(79, 23));

        labClassTitle8.setFont(new java.awt.Font("Tahoma", 1, 12));
        labClassTitle8.setText("Add Ritual");
        labClassTitle8.setName("labClassTitle8"); // NOI18N

        jLabel39.setText("Name:");
        jLabel39.setName("jLabel39"); // NOI18N

        jTextField26.setName("jTextField26"); // NOI18N

        jLabel40.setText("Description:");
        jLabel40.setName("jLabel40"); // NOI18N

        jTextField27.setName("jTextField27"); // NOI18N

        javax.swing.GroupLayout panRitualLayout = new javax.swing.GroupLayout(panRitual);
        panRitual.setLayout(panRitualLayout);
        panRitualLayout.setHorizontalGroup(
            panRitualLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panRitualLayout.createSequentialGroup()
                .addGroup(panRitualLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panRitualLayout.createSequentialGroup()
                        .addGap(153, 153, 153)
                        .addComponent(jButton21, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButton22, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panRitualLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(panRitualLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(panRitualLayout.createSequentialGroup()
                                .addComponent(jLabel40)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jTextField27, javax.swing.GroupLayout.DEFAULT_SIZE, 409, Short.MAX_VALUE))
                            .addGroup(panRitualLayout.createSequentialGroup()
                                .addComponent(jLabel39)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jTextField26, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(345, 345, 345))
                            .addComponent(labClassTitle8))))
                .addContainerGap())
        );
        panRitualLayout.setVerticalGroup(
            panRitualLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panRitualLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(labClassTitle8)
                .addGap(18, 18, 18)
                .addGroup(panRitualLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel39)
                    .addComponent(jTextField26, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panRitualLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextField27, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel40))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 236, Short.MAX_VALUE)
                .addGroup(panRitualLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton21)
                    .addComponent(jButton22, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        panRitual.setBounds(0, 0, 490, 360);
        layeredPane.add(panRitual, javax.swing.JLayeredPane.DEFAULT_LAYER);

        panEquipment.setBackground(new java.awt.Color(204, 204, 255));
        panEquipment.setName("panEquipment"); // NOI18N

        labEquipmentAttackTitle.setFont(new java.awt.Font("Tahoma", 1, 12));
        labEquipmentAttackTitle.setText("Defense Equipment:");
        labEquipmentAttackTitle.setName("labEquipmentAttackTitle"); // NOI18N

        btnArmor.setText("Armor");
        btnArmor.setName("btnArmor"); // NOI18N
        btnArmor.setPreferredSize(new java.awt.Dimension(79, 23));

        btnBoots.setText("Boots");
        btnBoots.setName("btnBoots"); // NOI18N
        btnBoots.setPreferredSize(new java.awt.Dimension(79, 23));

        btnGloves.setText("Gloves");
        btnGloves.setName("btnGloves"); // NOI18N
        btnGloves.setPreferredSize(new java.awt.Dimension(79, 23));

        btnHelmet.setText("Helmet");
        btnHelmet.setName("btnHelmet"); // NOI18N
        btnHelmet.setPreferredSize(new java.awt.Dimension(79, 23));

        btnLegs.setText("Legs");
        btnLegs.setName("btnLegs"); // NOI18N
        btnLegs.setPreferredSize(new java.awt.Dimension(79, 23));

        btnShields.setText("Shield");
        btnShields.setName("btnShields"); // NOI18N
        btnShields.setPreferredSize(new java.awt.Dimension(79, 23));

        labEquipmentDefenseTitle.setFont(new java.awt.Font("Tahoma", 1, 12));
        labEquipmentDefenseTitle.setText("Attack Equipment:");
        labEquipmentDefenseTitle.setName("labEquipmentDefenseTitle"); // NOI18N

        btnAxe.setText("Axe");
        btnAxe.setName("btnAxe"); // NOI18N
        btnAxe.setPreferredSize(new java.awt.Dimension(79, 23));

        btnClub.setText("Club");
        btnClub.setName("btnClub"); // NOI18N
        btnClub.setPreferredSize(new java.awt.Dimension(79, 23));

        btnSword.setText("Sword");
        btnSword.setName("btnSword"); // NOI18N
        btnSword.setPreferredSize(new java.awt.Dimension(79, 23));

        btnMace.setText("Mace");
        btnMace.setName("btnMace"); // NOI18N
        btnMace.setPreferredSize(new java.awt.Dimension(79, 23));

        btnStaff.setText("Staff");
        btnStaff.setName("btnStaff"); // NOI18N
        btnStaff.setPreferredSize(new java.awt.Dimension(79, 23));

        btnRod.setText("Rod");
        btnRod.setName("btnRod"); // NOI18N
        btnRod.setPreferredSize(new java.awt.Dimension(79, 23));

        separatorEquipment.setName("separatorEquipment"); // NOI18N

        separatorEquipment2.setName("separatorEquipment2"); // NOI18N

        layeredPaneEquipment.setName("layeredPaneEquipment"); // NOI18N

        panArmor.setBackground(new java.awt.Color(204, 204, 255));
        panArmor.setName("panArmor"); // NOI18N

        labClassTitle11.setFont(new java.awt.Font("Tahoma", 1, 12));
        labClassTitle11.setText("Add Armor");
        labClassTitle11.setName("labClassTitle11"); // NOI18N

        jLabel41.setText("Name:");
        jLabel41.setName("jLabel41"); // NOI18N

        jTextField28.setName("jTextField28"); // NOI18N

        jButton23.setText("Add armor");
        jButton23.setName("jButton23"); // NOI18N
        jButton23.setPreferredSize(new java.awt.Dimension(79, 23));

        jButton36.setText("Clear");
        jButton36.setName("jButton36"); // NOI18N
        jButton36.setPreferredSize(new java.awt.Dimension(79, 23));

        jLabel42.setText("Description:");
        jLabel42.setName("jLabel42"); // NOI18N

        jTextField29.setName("jTextField29"); // NOI18N

        jLabel43.setText("Defense:");
        jLabel43.setName("jLabel43"); // NOI18N

        javax.swing.GroupLayout panArmorLayout = new javax.swing.GroupLayout(panArmor);
        panArmor.setLayout(panArmorLayout);
        panArmorLayout.setHorizontalGroup(
            panArmorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panArmorLayout.createSequentialGroup()
                .addComponent(labClassTitle11)
                .addGap(158, 158, 158))
            .addGroup(panArmorLayout.createSequentialGroup()
                .addGroup(panArmorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panArmorLayout.createSequentialGroup()
                        .addComponent(jLabel41)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextField28, javax.swing.GroupLayout.PREFERRED_SIZE, 134, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel42)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextField29, javax.swing.GroupLayout.DEFAULT_SIZE, 226, Short.MAX_VALUE))
                    .addComponent(jLabel43))
                .addContainerGap())
            .addGroup(panArmorLayout.createSequentialGroup()
                .addGap(129, 129, 129)
                .addComponent(jButton23, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jButton36, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(157, Short.MAX_VALUE))
        );
        panArmorLayout.setVerticalGroup(
            panArmorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panArmorLayout.createSequentialGroup()
                .addComponent(labClassTitle11)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panArmorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel41)
                    .addComponent(jTextField28, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jTextField29, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel42))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel43)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 51, Short.MAX_VALUE)
                .addGroup(panArmorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton23, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton36, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
        );

        panArmor.setBounds(0, 0, 470, 140);
        layeredPaneEquipment.add(panArmor, javax.swing.JLayeredPane.DEFAULT_LAYER);

        javax.swing.GroupLayout panEquipmentLayout = new javax.swing.GroupLayout(panEquipment);
        panEquipment.setLayout(panEquipmentLayout);
        panEquipmentLayout.setHorizontalGroup(
            panEquipmentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panEquipmentLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panEquipmentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panEquipmentLayout.createSequentialGroup()
                        .addComponent(layeredPaneEquipment, javax.swing.GroupLayout.DEFAULT_SIZE, 470, Short.MAX_VALUE)
                        .addContainerGap())
                    .addGroup(panEquipmentLayout.createSequentialGroup()
                        .addComponent(separatorEquipment2, javax.swing.GroupLayout.DEFAULT_SIZE, 470, Short.MAX_VALUE)
                        .addContainerGap())
                    .addGroup(panEquipmentLayout.createSequentialGroup()
                        .addGroup(panEquipmentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(labEquipmentAttackTitle)
                            .addGroup(panEquipmentLayout.createSequentialGroup()
                                .addComponent(btnArmor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(btnBoots, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(btnGloves, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(btnHelmet, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(btnLegs, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(btnShields, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(labEquipmentDefenseTitle)
                            .addGroup(panEquipmentLayout.createSequentialGroup()
                                .addComponent(btnAxe, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(btnClub, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(btnSword, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(btnMace, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(btnStaff, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(btnRod, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addContainerGap(45, Short.MAX_VALUE))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panEquipmentLayout.createSequentialGroup()
                        .addComponent(separatorEquipment, javax.swing.GroupLayout.DEFAULT_SIZE, 460, Short.MAX_VALUE)
                        .addGap(20, 20, 20))))
        );
        panEquipmentLayout.setVerticalGroup(
            panEquipmentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panEquipmentLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(labEquipmentAttackTitle)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panEquipmentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnArmor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnBoots, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnGloves, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnHelmet, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnLegs, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btnShields, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(8, 8, 8)
                .addComponent(separatorEquipment, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(labEquipmentDefenseTitle)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panEquipmentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnAxe, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnClub, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnSword, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnMace, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnStaff, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btnRod, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(separatorEquipment2, javax.swing.GroupLayout.PREFERRED_SIZE, 5, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(layeredPaneEquipment, javax.swing.GroupLayout.DEFAULT_SIZE, 147, Short.MAX_VALUE))
        );

        panEquipment.setBounds(0, 0, 490, 360);
        layeredPane.add(panEquipment, javax.swing.JLayeredPane.DEFAULT_LAYER);

        panOther.setBackground(new java.awt.Color(204, 204, 255));
        panOther.setName("panOther"); // NOI18N

        labRoleTitle.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
        labRoleTitle.setText("Add Role");
        labRoleTitle.setName("labRoleTitle"); // NOI18N

        labRoleName.setText("Name:");
        labRoleName.setName("labRoleName"); // NOI18N

        txtRoleName.setName("txtRoleName"); // NOI18N

        labRoleDescription.setText("Description:");
        labRoleDescription.setName("labRoleDescription"); // NOI18N

        txtRoleDescription.setName("txtRoleDescription"); // NOI18N

        btnRoleAdd.setText("Add role");
        btnRoleAdd.setName("btnRoleAdd"); // NOI18N
        btnRoleAdd.setPreferredSize(new java.awt.Dimension(79, 23));

        btnRoleClear.setText("Clear");
        btnRoleClear.setName("btnRoleClear"); // NOI18N
        btnRoleClear.setPreferredSize(new java.awt.Dimension(79, 23));

        sepOther.setName("sepOther"); // NOI18N

        labSourceTitle.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
        labSourceTitle.setText("Add Power Source");
        labSourceTitle.setName("labSourceTitle"); // NOI18N

        labSourceName.setText("Name:");
        labSourceName.setName("labSourceName"); // NOI18N

        txtSourceName.setName("txtSourceName"); // NOI18N

        labSourceDescription.setText("Description:");
        labSourceDescription.setName("labSourceDescription"); // NOI18N

        txtSourceDescription.setName("txtSourceDescription"); // NOI18N

        btnSourceAdd.setText("Add source");
        btnSourceAdd.setName("btnSourceAdd"); // NOI18N
        btnSourceAdd.setPreferredSize(new java.awt.Dimension(79, 23));

        btnSourceClear.setText("Clear");
        btnSourceClear.setName("btnSourceClear"); // NOI18N
        btnSourceClear.setPreferredSize(new java.awt.Dimension(79, 23));

        sepOther2.setName("sepOther2"); // NOI18N

        labBookTitle.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
        labBookTitle.setText("Add Book");
        labBookTitle.setName("labBookTitle"); // NOI18N

        labBookName.setText("Name:");
        labBookName.setName("labBookName"); // NOI18N

        txtBookName.setName("txtBookName"); // NOI18N

        labBookAbbreviation.setText("Abbreviation:");
        labBookAbbreviation.setName("labBookAbbreviation"); // NOI18N

        txtBookAbbreviation.setName("txtBookAbbreviation"); // NOI18N

        btnBookAdd.setText("Add book");
        btnBookAdd.setName("btnBookAdd"); // NOI18N
        btnBookAdd.setPreferredSize(new java.awt.Dimension(79, 23));
        btnBookAdd.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                btnBookAddMouseReleased(evt);
            }
        });

        btnBookClear.setText("Clear");
        btnBookClear.setName("btnBookClear"); // NOI18N
        btnBookClear.setPreferredSize(new java.awt.Dimension(79, 23));

        javax.swing.GroupLayout panOtherLayout = new javax.swing.GroupLayout(panOther);
        panOther.setLayout(panOtherLayout);
        panOtherLayout.setHorizontalGroup(
            panOtherLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panOtherLayout.createSequentialGroup()
                .addGroup(panOtherLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panOtherLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(panOtherLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(panOtherLayout.createSequentialGroup()
                                .addComponent(labRoleName)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(txtRoleName, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(labRoleDescription)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(txtRoleDescription, javax.swing.GroupLayout.DEFAULT_SIZE, 257, Short.MAX_VALUE))
                            .addComponent(labRoleTitle)))
                    .addGroup(panOtherLayout.createSequentialGroup()
                        .addGap(134, 134, 134)
                        .addComponent(btnRoleAdd, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnRoleClear, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panOtherLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(sepOther, javax.swing.GroupLayout.DEFAULT_SIZE, 470, Short.MAX_VALUE))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panOtherLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(panOtherLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(panOtherLayout.createSequentialGroup()
                                .addComponent(labSourceName)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(txtSourceName, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(labSourceDescription)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(txtSourceDescription, javax.swing.GroupLayout.DEFAULT_SIZE, 257, Short.MAX_VALUE))
                            .addComponent(labSourceTitle)
                            .addGroup(panOtherLayout.createSequentialGroup()
                                .addGap(124, 124, 124)
                                .addComponent(btnSourceAdd, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(btnSourceClear, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE))))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panOtherLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(sepOther2, javax.swing.GroupLayout.DEFAULT_SIZE, 470, Short.MAX_VALUE))
                    .addGroup(panOtherLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(panOtherLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(labBookTitle)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panOtherLayout.createSequentialGroup()
                                .addComponent(labBookName)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(txtBookName, javax.swing.GroupLayout.DEFAULT_SIZE, 271, Short.MAX_VALUE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(labBookAbbreviation)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(txtBookAbbreviation, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(panOtherLayout.createSequentialGroup()
                                .addGap(124, 124, 124)
                                .addComponent(btnBookAdd, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(btnBookClear, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                .addContainerGap())
        );
        panOtherLayout.setVerticalGroup(
            panOtherLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panOtherLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(labRoleTitle)
                .addGap(18, 18, 18)
                .addGroup(panOtherLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labRoleName)
                    .addComponent(txtRoleName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtRoleDescription, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labRoleDescription))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panOtherLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnRoleAdd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnRoleClear, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(8, 8, 8)
                .addComponent(sepOther, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(labSourceTitle)
                .addGap(18, 18, 18)
                .addGroup(panOtherLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labSourceName)
                    .addComponent(txtSourceName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtSourceDescription, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labSourceDescription))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panOtherLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnSourceAdd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnSourceClear, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(sepOther2, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(labBookTitle)
                .addGap(18, 18, 18)
                .addGroup(panOtherLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labBookName)
                    .addComponent(txtBookName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtBookAbbreviation, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labBookAbbreviation))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panOtherLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnBookAdd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnBookClear, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(47, Short.MAX_VALUE))
        );

        panOther.setBounds(0, 0, 490, 360);
        layeredPane.add(panOther, javax.swing.JLayeredPane.DEFAULT_LAYER);

        panHelp.setBackground(new java.awt.Color(220, 220, 220));
        panHelp.setName("panHelp"); // NOI18N

        javax.swing.GroupLayout panHelpLayout = new javax.swing.GroupLayout(panHelp);
        panHelp.setLayout(panHelpLayout);
        panHelpLayout.setHorizontalGroup(
            panHelpLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 486, Short.MAX_VALUE)
        );
        panHelpLayout.setVerticalGroup(
            panHelpLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 28, Short.MAX_VALUE)
        );

        javax.swing.ActionMap actionMap = org.jdesktop.application.Application.getInstance().getContext().getActionMap(AddHomebrew.class, this);
        btnClose.setAction(actionMap.get("close")); // NOI18N
        btnClose.setName("btnClose"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(labDescription, javax.swing.GroupLayout.DEFAULT_SIZE, 583, Short.MAX_VALUE)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(btnOther, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 87, Short.MAX_VALUE)
                            .addComponent(btnClass, javax.swing.GroupLayout.DEFAULT_SIZE, 87, Short.MAX_VALUE)
                            .addComponent(btnEquipment, javax.swing.GroupLayout.DEFAULT_SIZE, 87, Short.MAX_VALUE)
                            .addComponent(btnRitual, javax.swing.GroupLayout.DEFAULT_SIZE, 87, Short.MAX_VALUE)
                            .addComponent(btnFeat, javax.swing.GroupLayout.DEFAULT_SIZE, 87, Short.MAX_VALUE)
                            .addComponent(btnSkill, javax.swing.GroupLayout.DEFAULT_SIZE, 87, Short.MAX_VALUE)
                            .addComponent(btnPower, javax.swing.GroupLayout.DEFAULT_SIZE, 87, Short.MAX_VALUE)
                            .addComponent(btnRace, javax.swing.GroupLayout.DEFAULT_SIZE, 87, Short.MAX_VALUE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(layeredPane, javax.swing.GroupLayout.PREFERRED_SIZE, 490, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addComponent(panHelp, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGap(18, 18, 18)
                        .addComponent(btnClose, javax.swing.GroupLayout.PREFERRED_SIZE, 79, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(labTitle))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(labTitle)
                .addGap(8, 8, 8)
                .addComponent(labDescription, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(btnClass, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 9, Short.MAX_VALUE)
                        .addComponent(btnRace, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnPower, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnSkill, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnFeat, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnRitual, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnEquipment, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnOther, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(2, 2, 2)
                        .addComponent(layeredPane, javax.swing.GroupLayout.DEFAULT_SIZE, 361, Short.MAX_VALUE)))
                .addGap(11, 11, 11)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(btnClose, javax.swing.GroupLayout.DEFAULT_SIZE, 28, Short.MAX_VALUE)
                    .addComponent(panHelp, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void btnClassMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btnClassMouseReleased
        setTopLayer(panClass, panRace, panPower, panSkill, panFeat, panRitual, panEquipment, panOther);
}//GEN-LAST:event_btnClassMouseReleased

    private void btnRaceMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btnRaceMouseReleased
        setTopLayer(panRace, panClass, panPower, panSkill, panFeat, panRitual, panEquipment, panOther);
}//GEN-LAST:event_btnRaceMouseReleased

    private void btnPowerMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btnPowerMouseReleased
        setTopLayer(panPower, panRace, panClass, panSkill, panFeat, panRitual, panEquipment, panOther);
}//GEN-LAST:event_btnPowerMouseReleased

    private void btnSkillMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btnSkillMouseReleased
        setTopLayer(panSkill, panRace, panPower, panClass, panFeat, panRitual, panEquipment, panOther);
}//GEN-LAST:event_btnSkillMouseReleased

    private void btnFeatMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btnFeatMouseReleased
        setTopLayer(panFeat, panRace, panPower, panSkill, panClass, panRitual, panEquipment, panOther);
}//GEN-LAST:event_btnFeatMouseReleased

    private void btnRitualMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btnRitualMouseReleased
       setTopLayer(panRitual, panRace, panPower, panSkill, panFeat, panClass, panEquipment, panOther);
}//GEN-LAST:event_btnRitualMouseReleased

    private void btnEquipmentMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btnEquipmentMouseReleased
        setTopLayer(panEquipment, panRace, panPower, panSkill, panFeat, panRitual, panClass, panOther);
}//GEN-LAST:event_btnEquipmentMouseReleased

    private void btnOtherMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btnOtherMouseReleased
        setTopLayer(panOther, panRace, panPower, panSkill, panFeat, panRitual, panEquipment, panClass);
    }//GEN-LAST:event_btnOtherMouseReleased

    private void btnClassAddMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btnClassAddMouseReleased
        String name = txtClassName.getText().trim();
        String role = cmbClassRole.getSelectedItem().toString();
        String source = cmbClassSource.getSelectedItem().toString();
        if(name.equals("")){
            JOptionPane.showMessageDialog(null, "Add a name to the Class", "Invalid name", JOptionPane.INFORMATION_MESSAGE);
        }else if(role.equals("Select")){
            JOptionPane.showMessageDialog(null, "Add a role to the Class", "Invalid role", JOptionPane.INFORMATION_MESSAGE);
        }else if(source.equals("Select")){
            JOptionPane.showMessageDialog(null, "Add a source to the Class", "Invalid source", JOptionPane.INFORMATION_MESSAGE);
        }else{
            Entities.Class classe = new Entities.Class();
            JOptionPane.showMessageDialog(null, "Class " + name + " added to the catalog.", "Operation succesfull!", JOptionPane.INFORMATION_MESSAGE);
            clearClass();
        }
    }//GEN-LAST:event_btnClassAddMouseReleased

    private void btnClassClearMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btnClassClearMouseReleased
        clearClass();
    }//GEN-LAST:event_btnClassClearMouseReleased

    private void btnBookAddMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btnBookAddMouseReleased
        System.out.println("btnBookAdd");
        String name = txtBookName.getText().trim();
        String abbreviation = txtBookAbbreviation.getText().trim();
        if(name.equals("")){
            JOptionPane.showMessageDialog(null, "Add a name to the Book", "Invalid name", JOptionPane.INFORMATION_MESSAGE);
        }else if(abbreviation.equals("")){
            JOptionPane.showMessageDialog(null, "Add an abbreviation to the Books name", "Invalid abbreviation", JOptionPane.INFORMATION_MESSAGE);
        }else{
            Handler.addBook(name, abbreviation);
            JOptionPane.showMessageDialog(null, "Book " + name + " added to the catalog.", "Operation succesfull!", JOptionPane.INFORMATION_MESSAGE);
            clearBook();
        }
    }//GEN-LAST:event_btnBookAddMouseReleased

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new AddHomebrew().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnArmor;
    private javax.swing.JButton btnAxe;
    private javax.swing.JButton btnBookAdd;
    private javax.swing.JButton btnBookClear;
    private javax.swing.JButton btnBoots;
    private javax.swing.JButton btnClass;
    private javax.swing.JButton btnClassAdd;
    private javax.swing.JButton btnClassClear;
    private javax.swing.JButton btnClose;
    private javax.swing.JButton btnClub;
    private javax.swing.JButton btnEquipment;
    private javax.swing.JButton btnFeat;
    private javax.swing.JButton btnGloves;
    private javax.swing.JButton btnHelmet;
    private javax.swing.JButton btnLegs;
    private javax.swing.JButton btnMace;
    private javax.swing.JButton btnOther;
    private javax.swing.JButton btnPower;
    private javax.swing.JButton btnRace;
    private javax.swing.JButton btnRitual;
    private javax.swing.JButton btnRod;
    private javax.swing.JButton btnRoleAdd;
    private javax.swing.JButton btnRoleClear;
    private javax.swing.JButton btnShields;
    private javax.swing.JButton btnSkill;
    private javax.swing.JButton btnSourceAdd;
    private javax.swing.JButton btnSourceClear;
    private javax.swing.JButton btnStaff;
    private javax.swing.JButton btnSword;
    private javax.swing.JComboBox cmbClassBook;
    private javax.swing.JComboBox cmbClassDef;
    private javax.swing.JComboBox cmbClassDefHybrid;
    private javax.swing.JComboBox cmbClassHP;
    private javax.swing.JComboBox cmbClassHPHybrid;
    private javax.swing.JComboBox cmbClassNSkills;
    private javax.swing.JComboBox cmbClassNSkillsHybrid;
    private javax.swing.JComboBox cmbClassPerLvl;
    private javax.swing.JComboBox cmbClassPerLvlHybrid;
    private javax.swing.JComboBox cmbClassRole;
    private javax.swing.JComboBox cmbClassSkills;
    private javax.swing.JComboBox cmbClassSkillsHybrid;
    private javax.swing.JComboBox cmbClassSource;
    private javax.swing.JComboBox cmbClassSurge;
    private javax.swing.JComboBox cmbClassSurgeHybrid;
    private javax.swing.JButton jButton13;
    private javax.swing.JButton jButton14;
    private javax.swing.JButton jButton15;
    private javax.swing.JButton jButton16;
    private javax.swing.JButton jButton17;
    private javax.swing.JButton jButton18;
    private javax.swing.JButton jButton19;
    private javax.swing.JButton jButton20;
    private javax.swing.JButton jButton21;
    private javax.swing.JButton jButton22;
    private javax.swing.JButton jButton23;
    private javax.swing.JButton jButton36;
    private javax.swing.JLabel jLabel31;
    private javax.swing.JLabel jLabel32;
    private javax.swing.JLabel jLabel33;
    private javax.swing.JLabel jLabel34;
    private javax.swing.JLabel jLabel35;
    private javax.swing.JLabel jLabel36;
    private javax.swing.JLabel jLabel37;
    private javax.swing.JLabel jLabel38;
    private javax.swing.JLabel jLabel39;
    private javax.swing.JLabel jLabel40;
    private javax.swing.JLabel jLabel41;
    private javax.swing.JLabel jLabel42;
    private javax.swing.JLabel jLabel43;
    private javax.swing.JTextField jTextField15;
    private javax.swing.JTextField jTextField16;
    private javax.swing.JTextField jTextField17;
    private javax.swing.JTextField jTextField18;
    private javax.swing.JTextField jTextField19;
    private javax.swing.JTextField jTextField20;
    private javax.swing.JTextField jTextField21;
    private javax.swing.JTextField jTextField22;
    private javax.swing.JTextField jTextField26;
    private javax.swing.JTextField jTextField27;
    private javax.swing.JTextField jTextField28;
    private javax.swing.JTextField jTextField29;
    private javax.swing.JLabel labBookAbbreviation;
    private javax.swing.JLabel labBookName;
    private javax.swing.JLabel labBookTitle;
    private javax.swing.JLabel labClassAbilities;
    private javax.swing.JLabel labClassArmor;
    private javax.swing.JLabel labClassArmorHybrid;
    private javax.swing.JLabel labClassBook;
    private javax.swing.JLabel labClassCharacteristics;
    private javax.swing.JLabel labClassDef;
    private javax.swing.JLabel labClassDefHybrid;
    private javax.swing.JLabel labClassDescription;
    private javax.swing.JLabel labClassHP;
    private javax.swing.JLabel labClassHPHybrid;
    private javax.swing.JLabel labClassNSkills;
    private javax.swing.JLabel labClassNSkillsHybrid;
    private javax.swing.JLabel labClassName;
    private javax.swing.JLabel labClassPerLvl;
    private javax.swing.JLabel labClassPerLvlHybrid;
    private javax.swing.JLabel labClassPhrase;
    private javax.swing.JLabel labClassRaces;
    private javax.swing.JLabel labClassReligion;
    private javax.swing.JLabel labClassRole;
    private javax.swing.JLabel labClassSkills;
    private javax.swing.JLabel labClassSkillsHybrid;
    private javax.swing.JLabel labClassSource;
    private javax.swing.JLabel labClassSurge;
    private javax.swing.JLabel labClassSurgeHybrid;
    private javax.swing.JLabel labClassTitle;
    private javax.swing.JLabel labClassTitle11;
    private javax.swing.JLabel labClassTitle4;
    private javax.swing.JLabel labClassTitle5;
    private javax.swing.JLabel labClassTitle6;
    private javax.swing.JLabel labClassTitle7;
    private javax.swing.JLabel labClassTitle8;
    private javax.swing.JLabel labClassTitleHybrid;
    private javax.swing.JLabel labClassWeapons;
    private javax.swing.JLabel labClassWeaponsHybrid;
    private javax.swing.JLabel labDescription;
    private javax.swing.JLabel labEquipmentAttackTitle;
    private javax.swing.JLabel labEquipmentDefenseTitle;
    private javax.swing.JLabel labRoleDescription;
    private javax.swing.JLabel labRoleName;
    private javax.swing.JLabel labRoleTitle;
    private javax.swing.JLabel labSourceDescription;
    private javax.swing.JLabel labSourceName;
    private javax.swing.JLabel labSourceTitle;
    private javax.swing.JLabel labTitle;
    private javax.swing.JLayeredPane layeredPane;
    private javax.swing.JLayeredPane layeredPaneEquipment;
    private javax.swing.JPanel panArmor;
    private javax.swing.JPanel panClass;
    private javax.swing.JPanel panEquipment;
    private javax.swing.JPanel panFeat;
    private javax.swing.JPanel panHelp;
    private javax.swing.JPanel panOther;
    private javax.swing.JPanel panPower;
    private javax.swing.JPanel panRace;
    private javax.swing.JPanel panRitual;
    private javax.swing.JPanel panSkill;
    private javax.swing.JSeparator sepOther;
    private javax.swing.JSeparator sepOther2;
    private javax.swing.JSeparator separatorEquipment;
    private javax.swing.JSeparator separatorEquipment2;
    private javax.swing.JTextField txtBookAbbreviation;
    private javax.swing.JTextField txtBookName;
    private javax.swing.JTextField txtClassAbilities;
    private javax.swing.JTextField txtClassArmor;
    private javax.swing.JTextField txtClassArmorHybrid;
    private javax.swing.JTextField txtClassCharacteristics;
    private javax.swing.JTextField txtClassDescription;
    private javax.swing.JTextField txtClassName;
    private javax.swing.JTextField txtClassPhrase;
    private javax.swing.JTextField txtClassRaces;
    private javax.swing.JTextField txtClassReligion;
    private javax.swing.JTextField txtClassWeapons;
    private javax.swing.JTextField txtClassWeaponsHybrid;
    private javax.swing.JTextField txtRoleDescription;
    private javax.swing.JTextField txtRoleName;
    private javax.swing.JTextField txtSourceDescription;
    private javax.swing.JTextField txtSourceName;
    // End of variables declaration//GEN-END:variables
    public static AddHomebrew addHomebrew;
    private Object[] bookNames;
}
